package com.caiyouxi.goods.mapper;

import com.caiyouxi.goods.model.GoodsVersion;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * 商品相关
 * chensong
 */
@Mapper
public interface GoodsVersionMapper {
    
    int add_goods_version(GoodsVersion goodsVersion);
    
    int update_goods_version(GoodsVersion goodsVersion);

    int delete_goods_version(GoodsVersion goodsVersion);

    GoodsVersion get_goods_version(GoodsVersion goodsVersion);

    int get_goods_versions_count(GoodsVersion goodsVersion);

    List<GoodsVersion> get_goods_versions_list(GoodsVersion goodsVersion);


}
